home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssnnnnmmmmppppdddd((((1111MMMM)))) ssssnnnnmmmmppppdddd((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- snmpd - Simple Network Management Protocol daemon
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////eeeettttcccc////ssssnnnnmmmmppppdddd [ ----dddd debug ] [ ----llll loglevel ]
- [----uuuu namelist ] [----pppp alternatePort] [----tttt trapPort]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _s_n_m_p_d is a daemon for the Simple Network Management Protocol (SNMP) as
- specified in Internet RFC 1157, and supports MIB II, as specified in
- Internet RFC 1213. The daemon, called the SNMP agent, can be configured
- to run from the network star-tup script at boot time by the command
- _c_h_k_c_o_n_f_i_g _s_n_m_p_d _o_n or started from the command line. You must be
- superuser (root) to run _s_n_m_p_d. _s_n_m_p_d listens on a _u_d_p(7P) socket for the
- _s_n_m_p service for SNMP queries. If no such service can be found, a
- default port of 161 is used. By default, _s_n_m_p_d logs its messages to
- _s_y_s_l_o_g(3B).
-
- _s_n_m_p_d checks that each incoming request is authorized. The file
- /_e_t_c/_s_n_m_p_d._a_u_t_h is used to specify sets of hosts and SNMP communities
- that have either ggggeeeetttt or sssseeeetttt privileges. Entries in the file have the
- form
-
- accept hostname:community/operation ...
- reject hostname:community/operation ...
-
- where the wildcard character **** can stand for all hosts or all
- communities. A comma can be used to list multiple hosts or communities.
-
- For example, suppose _s_n_m_p_d were to accept ggggeeeetttt and sssseeeetttt requests from the
- host iiiirrrriiiissss1111 or iiiirrrriiiissss2222 with the community ssssggggiiii and accept ggggeeeetttt requests from
- any host with the community ppppuuuubbbblllliiiicccc. The /_e_t_c/_s_n_m_p_d._a_u_t_h entries would be
-
- accept iris1:sgi
- accept iris2:sgi
- accept *:public/get
-
-
- or equivalently, on one line
-
- accept iris1,iris2:sgi *:public/get
-
-
- SSSSuuuuppppppppoooorrrrtttteeeedddd SSSSeeeettttssss
- _s_n_m_p_d supports SNMP sets when authorized by the above mechanism. There
- are some caveats to using sets, however:
-
- The deprecated Address Translation table does not support sets. Use the
- IP Net-to-Media table instead.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ssssnnnnmmmmppppdddd((((1111MMMM)))) ssssnnnnmmmmppppdddd((((1111MMMM))))
-
-
-
- The IP forwarding flag, ipForwarding, cannot be set.
-
- The IP default time to live, ipDefaultTTL, cannot be set.
-
- Existing rows in the IP Route table, for which ipRouteType is not
- invalid, cannot be modified. A row may be removed by setting ipRouteType
- to invalid, as stated in RFC 1213. A row may be added by sets to the IP
- Route table with the new variables. Default values are added for
- variables that are not included. The row is committed and added to the
- kernel route table when the ipRouteType is set from invalid to any other
- state.
-
- Existing rows in the IP Net-to-Media table, for which ipNettoMediaType is
- not invalid, cannot be modified. A row may be removed by setting
- ipNettoMediaType to invalid as stated in RFC 1213. A row may be added by
- sets to IP Net-to-Media table with the new variables. Default values are
- added for variables that are not included. The row is committed and
- added to the kernel arp table when the ipNettoMediaType is set from
- invalid to any other state.
-
- The TCP connection state, tcpConnState, cannot be set.
-
- RRRReeeemmmmooootttteeee SSSSuuuubbbbaaaaggggeeeennnnttttssss
- _s_n_m_p_d supports forwarding requests to _s_u_b_a_g_e_n_t_s. These subagents manage
- proprietary parts of the MIB. They must be able to handle the _s_n_m_p
- protocol, including the ASN1 encoding and decoding of packets. The
- subagents must not use the standard _s_n_m_p port 161_u_d_p, which is used by
- _s_n_m_p_d.
-
- At start-up _s_n_m_p_d reads the file /_e_t_c/_s_n_m_p._r_e_m_o_t_e._c_o_n_f to determine the
- existence of subagents, the parts of the MIB that they support, and the
- _u_d_p port to use to communicate with them. The format of the file is
-
- mib-tree-identifier IP-address port timeout subagent-name
-
-
- The _s_u_b_a_g_e_n_t-_n_a_m_e is optional. All other parts of the entry are
- required. The fields are separated by white-space (tab or space).
-
- An example of an entry is
-
- 1.3.6.1.4.1.59.3 192.26.75.178 3333 3 sgi-experimental
-
-
- This entry says that the subagent supporting the mib tree rooted at
- 1.3.6.1.4.1.59.3 is located at IP address 192.26.75.178. It uses _u_d_p
- port 3333. _s_n_m_p_d-forwarded requests to the subagent should time out
- after 3 seconds. The name of the agent is the sgi-experimental agent.
-
- Because _s_n_m_p_d reads and processes lines in the file in order, multiple
- subagents can be configured that operate on nested parts of the mib. For
- all agents to be seen, the more deeply nested agents should come first in
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ssssnnnnmmmmppppdddd((((1111MMMM)))) ssssnnnnmmmmppppdddd((((1111MMMM))))
-
-
-
- the file. For example
-
- 1.3.6.1.4.1.59.3.26 192.26.75.1178 6666 4 sgi-exp-tv
- 1.3.6.1.4.1.59.3 192.26.75.178 3333 3 sgi-experimental
-
-
- If the above two lines were reversed, _s_n_m_p_d would never forward requests
- to the sgi-exp-tv agent.
-
- TTTTrrrraaaappppssss
- _s_n_m_p_d issues some standard SNMP traps. At start-up it reads the
- /_e_t_c/_s_n_m_p_d._t_r_a_p._c_o_n_f file to determine which traps to send to which
- destinations and what community string to use when sending traps. There
- are two types of entries in the file, one for traps and destinations and
- one for the community string. The format of the trap lines is
-
- trap destination-list
-
-
- The trap can be either a number or a string from RFC 1157 naming the
- trap. The destination list is a white space and/or comma-separated set
- of IP addresses and/or hostnames. For example
-
- 1 192.26.75.178, bubba
- authenticationFailure 192.26.75.109
-
-
- The community string entry has the format:
-
- community name
-
-
- The string in the name field is used for all traps.
-
- To determine whether it has cold started or warm started, _s_n_m_p_d uses the
- file /_e_t_c/_s_n_m_p_d._s_t_a_r_t.
-
- OOOOppppttttiiiioooonnnnssss
- -d _d_e_b_u_g Set debugging modes of _s_n_m_p_d. Possible values for _d_e_b_u_g
- are _d_u_m_p, which will hex dump incoming and outgoing
- packets; _i_n_p_u_t, which will display decoded incoming
- packets; _o_u_t_p_u_t, which will display decoded outgoing
- packets; and _f_o_r_e_g_r_o_u_n_d, which makes the daemon run in
- the foreground and log messages to the standard output.
- The _d_u_m_p, _i_n_p_u_t, and _o_u_t_p_u_t flags all imply the
- _f_o_r_e_g_r_o_u_n_d flag.
-
- -l _l_o_g_l_e_v_e_l Control the level of messages produced by _s_n_m_p_d. The
- levels are those used by _s_y_s_l_o_g(3B). The value of
- _l_o_g_l_e_v_e_l is the text string for that level. The default
- _l_o_g_l_e_v_e_l is _e_r_r_o_r. To see warnings, the _l_o_g_l_e_v_e_l would
- be _w_a_r_n_i_n_g. The acceptable values for _l_o_g_l_e_v_e_l can be
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- ssssnnnnmmmmppppdddd((((1111MMMM)))) ssssnnnnmmmmppppdddd((((1111MMMM))))
-
-
-
- found in /_u_s_r/_i_n_c_l_u_d_e/_s_y_s/_s_y_s_l_o_g._h.
-
- -u _n_a_m_e_l_i_s_t Specify a system namelist. The default is /_u_n_i_x.
-
- -p _a_l_t_e_r_n_a_t_e_P_o_r_t
- Specify an alternate UDP port to listen for SNMP
- requests. The default UDP port is 161. Since only one
- SNMP Agent can listen on UDP/161, if there are multiple
- agents running on the system, using the -p option, you
- can specify an alternate UDP port for snmpd to listen for
- SNMP requests.
-
- -t _t_r_a_p_P_o_r_t By default, snmpd sends all trap messages to UDP port 162
- on the SNMP Manager station(s). By using this option,
- you can specify an alternate trap port on the Manager
- station(s), to which snmpd will send its trap messages.
-
- CCCCAAAAVVVVEEEEAAAATTTTSSSS
- Currently _s_n_m_p_d supports the following traps only:
-
- coldStart warmStart authenticationFailure
-
-
- FFFFIIIILLLLEEEESSSS
- /usr/etc/snmpd
- /etc/snmpd.auth
- /etc/snmpd.data
- /etc/snmpd.trap.conf
- /etc/snmpd.remote.conf
- /etc/snmpd.start
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- RFC 1157, RFC 1213
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-